package com.zllkj.mm.module.start.fragments;

import android.content.Intent;
import android.view.View;

import com.zllkj.mm.R;
import com.zllkj.mm.base.BaseAppFragment;
import com.zllkj.mm.module.main.MainActivity;


public class LauncherFragment extends BaseAppFragment {


    public static LauncherFragment newInstance() {
        LauncherFragment fragment = new LauncherFragment();
        return fragment;
    }

    @Override
    protected int getLayoutId() {
        return R.layout.fragment_start;
    }

    @Override
    protected void initView(View rootView) {
        super.initView(rootView);
//        featchOuterInit();
        startActivity(new Intent(getContext(), MainActivity.class).setFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_ACTIVITY_NEW_TASK));


//        T.s("渠道名: " + AppContext.getInstance().getChannelName());
    }


}
